/**
* 子模块路由
* ml
*/

var router = function ($urlRouterProvider, $stateProvider) {

	$stateProvider

		
		
	


		//题库列表
		.state('app.warehouseList', {
			url: "/counseling/warehouseList",
			views: {
				'main@': {
					template: require('./views/warehouseList.html'),
					controller: 'warehouseList'
				}
			},
			resolve: {

			}
		})

		//保存题库
		.state('app.saveWarehouseInfo', {
			url: "/counseling/saveWarehouseInfo",
			views: {
				'main@': {
					template: require('./views/saveWarehouseInfo.html'),
					controller: 'saveWarehouseInfo'
				}
			},
			resolve: {

			}
		})


		//客服搜索
		.state('app.customer', {
			url: "/counseling/customer",
			views: {
				'main@': {
					template: require('./views/customer.html'),
					controller: 'customer'
				}
			},
			resolve: {
	
			}
		})


		//审核列表
		.state('app.audit', {
			url: "/counseling/audit?change_type&state",
			views: {
				'main@': {
					template: require('./views/audit.html'),
					controller: 'audit'
				}
			},
			resolve: {
	
			}
		})

		//我的笔记列表
		.state('app.mynote', {
			url: "/counseling/mynote",
			views: {
				'main@': {
					template: require('./views/mynote.html'),
					controller: 'mynote'
				}
			},
			resolve: {
	
			}
		})

		//我的申请列表
		.state('app.myapply', {
			url: "/counseling/myapply?change_type",
			views: {
				'main@': {
					template: require('./views/myapply.html'),
					controller: 'myapply'
				}
			},
			resolve: {
	
			}
		})


		//通过率排行
		.state('app.probabilityList', {
			url: "/counseling/probabilityList?type",
			views: {
				'main@': {
					template: require('./views/probabilityList.html'),
					controller: 'probabilityList'
				}
			},
			resolve: {
	
			}
		})
	

		
		//工作量排行
		.state('app.workNumList', {
			url: "/counseling/workNumList",
			views: {
				'main@': {
					template: require('./views/workNumList.html'),
					controller: 'workNumList'
				}
			},
			resolve: {
	
			}
		})
	
		//个人工作搜索列表
		.state('app.userWorkNumList', {
			url: "/counseling/userWorkNumList",
			views: {
				'main@': {
					template: require('./views/userWorkNumList.html'),
					controller: 'userWorkNumList'
				}
			},
			resolve: {
	
			}
		})
	
		
		

		
};




module.exports = router;